package l1j.server.server.model.damage.magic;

import l1j.server.server.model.L1Character;
import l1j.server.server.model.damage.L1Dmg;

public class MagicAttack {
	private L1Character _attacker;

	private L1Character _target;

	public MagicAttack(L1Character attacker, L1Character target) {
		_attacker = attacker;
		_target = target;
	}

	public void action() {
		L1Dmg dmg = L1Dmg.get(true, 0,
				_attacker, _target);
		dmg.calcDmg();
		dmg.hurtTarget(true);
	}
}
